package com.woniuxy.activiti;

import com.woniuxy.activiti.mapper.EnterpriseCreditMapper;
import com.woniuxy.activiti.mapper.SiteMessageMapper;
import com.woniuxy.entity.EnterpriseCredit;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/**
 * @author xilei
 * @create 2021--24 23:37
 */
//@SpringBootTest
public class qwe {
    @Resource
    private SiteMessageMapper siteMessageMapper;
    @Resource
    private EnterpriseCreditMapper enterpriseCreditMapper;

    @Test
    public void test(){
        EnterpriseCredit enterpriseCredit = new EnterpriseCredit();
        enterpriseCredit.setLoanProductName("222");
        int i = enterpriseCreditMapper.insertCredit(enterpriseCredit);
        System.out.println(i);
    }
}
